package com.ruoyi.project.system.commodity.domain;

public class spuClassification {
    private int classId;
    private String className;
    private int parentId;
    private spuClassification parentClass;

    public spuClassification() {
    }

    public spuClassification(int classId, String className, int parentId, spuClassification parentClass) {
        this.classId = classId;
        this.className = className;
        this.parentId = parentId;
        this.parentClass = parentClass;
    }

    @Override
    public String toString() {
        return "spuClassification{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", parentId=" + parentId +
                ", parentClass=" + parentClass +
                '}';
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public spuClassification getParentClass() {
        return parentClass;
    }

    public void setParentClass(spuClassification parentClass) {
        this.parentClass = parentClass;
    }
}
